/*
 * 文 件 名:  NetsAction.java
 * 版    权:  Chrhc Technologies Co., Ltd. Copyright 2015-2099,  All rights reserved
 * 描    述:  <描述>
 * 修 改 人: 姓名 xxx
 * 修改时间:  2016年4月20日
 */
package com.bus.net2;

import com.struts.ActionForm;
import com.struts.ActionMethod;
import com.struts.annotation.Action;
import com.struts.annotation.FormBean;
import com.struts.annotation.NameSpace;
import com.struts.annotation.Result;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * <一句话功能简述> <功能详细描述>
 * 
 * @author 姓名 xxx
 * @version [1.0, 2016年4月20日]
 */
@NameSpace("/net2")
@FormBean("com.bus.net2.NetsBean2")
@Result({"a1@/view/net2/a.jsp","a2@/view/net2/a2.jsp","b1@/view/net2/b.jsp","b2@/view/net2/b2.jsp"})
public class NetsAction2 extends ActionMethod
{
   // @Action("/goA1")
    public String goA1(ActionForm form, HttpServletRequest request, HttpServletResponse response)
    {
        NetsBean2 bean = (NetsBean2)form;
        request.setAttribute("vo", bean);
        return "a1";
    }
    //@Action("/goA2")
    public String goA2(ActionForm form, HttpServletRequest request, HttpServletResponse response)
    {
        NetsBean2 bean = (NetsBean2)form;
        request.setAttribute("vo", bean);
        return "a2";
    }
    //@Action("/goB1")
    public String goB1(ActionForm form, HttpServletRequest request, HttpServletResponse response)
    {
        NetsBean2 bean = (NetsBean2)form;
        request.setAttribute("vo", bean);
        return "b1";
    }
    //@Action("/goB2")
    public String goB2(ActionForm form, HttpServletRequest request, HttpServletResponse response)
    {
        NetsBean2 bean = (NetsBean2)form;
        request.setAttribute("vo", bean);
        return "b2";
    }
    
}
